__author__ = 'cloud'

from django.conf.urls import patterns, url, include
from django.contrib import admin
from django.contrib.staticfiles.urls import static
from lk import settings

from clients.views import *

urlpatterns = patterns('',
                       url(r'^$', Index.as_view(), name='index'),
                       url(r'^login/$', 'django.contrib.auth.views.login', name='login'),
                       url(r'^logout/$', LogoutView, name='logout'),
                       url(r'^finance/$', FinanceView.as_view(), name='finance'),
                       url(r'^agreements/$', AgreementsView.as_view(), name='agreements'),
                       url(r'^payment/$', PaymentView.as_view(), name='payment'),
                       url(r'^personal/$', PersonalView.as_view(), name='personal'),
                       url(r'^services/$', ServicesView.as_view(), name='services'),
                       url(r'^password/$', PasswordChange.as_view(), name='password'),
) + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
